package com.outlandr.irc.client;

public class Room {
	protected StringBuffer buffer;
	protected String name;


	public Room(String name) {
		this.name = name;
		buffer = new StringBuffer();
	}


	public String getBuffer() {
		return buffer.toString();
	}


	@Override
	public String toString() {
		return name;
	}


	public void updateText(String textReply) {
		buffer.append(textReply).append("\n");
	}
	
	
}
